package 软件工程实验三.A1.A14.pay;//Source file: E:\\Projects\\RationRoseProject\\GenerateCode\\Cash.java


public class Cash extends Payment
{
   private float cashTendered;

   public Cash(float cashTendered) {
      this.cashTendered = cashTendered;
   }

   /**
    * @roseuid 6719EB71005C
    */
   public Cash() 
   {
    
   }

   @Override
   public void pay(){
      System.out.println("现金支付成功，金额为：" + super.getAmount());
   }

}
